<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
  <div class="leftNav bs-docs-sidebar" data-spy="affix" data-offset-top="80" data-offset-bottom="40">
      <ul class="nav nav-list">
        <li><a href="${pageContext.request.contextPath}/a/adminHome.do"><i class="icon-home"></i> 返回首页</a>
        <li class="divider"></li><% String menuIndex = request.getParameter("menuIndex"); %>
        <li <% if("1".equals(menuIndex)){%>class="active"<%} %>><a href="${pageContext.request.contextPath}/a/userAdminMain.do"><i class="icon-user"></i>人员管理</a>
          <ul>
            <li><a href="${pageContext.request.contextPath}/a/queryUserList.do">人员查询</a></li>
            <li><a href="${pageContext.request.contextPath}/a/addUserPage.do">添加帐号</a></li>
          </ul>
        </li>
        <li <% if("2".equals(menuIndex)){%>class="active"<%} %>><a href="${pageContext.request.contextPath}/o/templateAdminMain.do"><i class="icon-inbox"></i> 模板管理</a>
          <ul>
            <li><a href="${pageContext.request.contextPath}/o/queryTemplateList.do">模板查询</a></li>
            <li><a href="${pageContext.request.contextPath}/o/addTemplatePage.do">模板录入</a></li>
          </ul>
        </li>
        <li <% if("3".equals(menuIndex)){%>class="active"<%} %>><a href="${pageContext.request.contextPath}/o/ordersAdminMain.do"><i class="icon-list-alt"></i> 订单管理</a>
          <ul>
            <li><a href="${pageContext.request.contextPath}/o/queryOrdersList.do">订单查询</a></li>
            <li><a href="order_New.html">新单处理</a></li>
            <li><a href="${pageContext.request.contextPath}/o/addOrdersPage.do">创建订单</a></li>
          </ul>
        </li>
        <li <% if("4".equals(menuIndex)){%>class="active"<%} %>><a href="${pageContext.request.contextPath}/o/materialStoneAdminMain.do"><i class="icon-road"></i> 来石管理</a>
          <ul>
            <li><a href="${pageContext.request.contextPath}/o/queryMaterialStoneList.do">来石查询</a></li>
            <li><a href="${pageContext.request.contextPath}/o/addMaterialStonePage.do">来石登记</a></li>
          </ul>
        </li>
        <li <% if("5".equals(menuIndex)){%>class="active"<%} %>><a href="${pageContext.request.contextPath}/f/consumablesAdminMain.do"><i class="icon-tasks"></i> 耗材管理</a>
          <ul>
            <li><a href="${pageContext.request.contextPath}/f/queryConsumablesList.do">耗材查询</a></li>
            <li><a href="${pageContext.request.contextPath}/f/addConsumablesLogPage.do">耗材登记</a></li>
          </ul>
        </li>
        <li <% if("6".equals(menuIndex)){%>class="active"<%} %>><a href="${pageContext.request.contextPath}/a/configAdminMain.do"><i class="icon-wrench"></i> 配置管理</a>
          <ul>
            <li><a href="${pageContext.request.contextPath}/a/queryConfigList.do">查询配置</a></li>
          </ul>
        </li>
        <li <% if("7".equals(menuIndex)){%>class="active"<%} %>><a href="${pageContext.request.contextPath}/a/queryCustomerList.do"><i class="icon-book"></i> 客户管理</a>
          <ul>
            <li><a href="${pageContext.request.contextPath}/a/addCustomerPage.do">客户登记</a></li>
          </ul>
        </li>
      </ul>
  </div>